﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Activities;

namespace TeamDeploy.Activities.Test
{
    [TestClass]
    public class DeployTests
    {
        [TestMethod]
        public void TestDeploy()
        {

            var workflow = new Deploy();
            workflow.KillAppPathFilename = @"c:\pstools\pskill2.exe";
            workflow.RemoteExecutePathFilename = @"c:\pstools\psexec2.exe";
            workflow.DeployScript = @"C:\Deploy\SampleDeployScript.xml";
            //workflow.ExtraArgs = "adfs";
            var workflowInvoker = new WorkflowInvoker(workflow);

            workflowInvoker.Invoke();

            Assert.IsTrue(true);
        }
    }
}
